//
//  YZMHistoryPacket.m
//  YZMicroStock
//
//  Created by apple on 16/11/11.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import "YZMHistoryPacket.h"
#import "YZMHistoryModel.h"
#import <LinqToObjectiveC/LinqToObjectiveC.h>

@implementation YZMHistoryPacket

+ (NSDictionary *)JSONKeyPathsByPropertyKey {
    return @{
             @"dataList": @"dataList",
             @"currentPage":@"currentPage",
             @"totalPage":@"totalPage",
             };
}

- (void)setNilValueForKey:(NSString *)key
{
    
}


+ (NSValueTransformer *)dataListJSONTransformer
{
    return [MTLJSONAdapter arrayTransformerWithModelClass: [YZMHistoryModel class]];
}

@end
